import request from '@/utils/request'

// 查询学生表8列表
export function listStudent8(query) {
  return request({
    url: '/system/student8/list',
    method: 'get',
    params: query
  })
}

// 查询学生表8详细
export function getStudent8(id) {
  return request({
    url: '/system/student8/' + id,
    method: 'get'
  })
}

// 新增学生表8
export function addStudent8(data) {
  return request({
    url: '/system/student8',
    method: 'post',
    data: data
  })
}

// 修改学生表8
export function updateStudent8(data) {
  return request({
    url: '/system/student8',
    method: 'put',
    data: data
  })
}

// 删除学生表8
export function delStudent8(id) {
  return request({
    url: '/system/student8/' + id,
    method: 'delete'
  })
}
